package com.victor.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.victor.entity.InfomationArticle;
@Mapper
public interface InfomationArticleDao {
	/**
	 * 删除
	 * @param aId
	 * @return
	 */
    boolean deleteByPrimaryKey(int[] aId);
    /**
     * 添加文案
     * @param record
     * @return
     */
    boolean insertSelective(InfomationArticle record);

    InfomationArticle selectByPrimaryKey(Integer aId);
    /**
     * 修改文案
     * @param record
     * @return
     */
    boolean updateByPrimaryKeySelective(InfomationArticle record);
    
    List<InfomationArticle> selByInfoId(Integer infoid);

}